package com.tepth.shadow.ui.progress.sweetalert;

import android.app.Dialog;

/**
 * @author zhangyu
 * @date 2018/3/8
 */

public interface IDialog {
    void showProgressDialog(boolean canCancel,String title,String msg);
    void changeText(String title,String msg);
    void showSuccess(String title,String msg,IDialogClickListener clickListener);
    void showFailed(String title,String msg,IDialogClickListener clickListener);
    void showWarning(String title,String msg,IDialogClickListener clickListener);
    void clearDialog();
    Dialog getDialog();
}
